class Solution:
    def mySqrt(self, x: int) -> int:
        return int(math.sqrt(x))

class Solution:
    def mySqrt(self, x: int) -> int:
        return int(pow(x, 0.5)